home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmeStandardTargets.z / XmeStandardTargets
Text File  |  1998-10-30  |  8KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmeeeeSSSSttttaaaannnnddddaaaarrrrddddTTTTaaaarrrrggggeeeettttssss((((3333XXXX))))    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV    XXXXmmmmeeeeSSSSttttaaaannnnddddaaaarrrrddddTTTTaaaarrrrggggeeeettttssss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmeeeeSSSSttttaaaannnnddddaaaarrrrddddTTTTaaaarrrrggggeeeettttssss - A toolkit function that returns a list
  10.           of standard targets
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/TransferP.h>
  14.           AAAAttttoooommmm **** XXXXmmmmeeeeSSSSttttaaaannnnddddaaaarrrrddddTTTTaaaarrrrggggeeeettttssss(
  15.           WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
  16.           iiiinnnntttt ccccoooouuuunnnntttt,
  17.           iiiinnnntttt ****ccccoooouuuunnnntttt____rrrreeeettttuuuurrrrnnnn);
  18.  
  19.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  20.           This page documents Motif 2.1.
  21.  
  22.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.           Use XXXXmmmmeeeeSSSSttttaaaannnnddddaaaarrrrddddTTTTaaaarrrrggggeeeettttssss to return a list of the targets that
  24.           your widget can convert.  XXXXmmmmeeeeSSSSttttaaaannnnddddaaaarrrrddddTTTTaaaarrrrggggeeeettttssss is usually
  25.           called from an XXXXmmmmNNNNccccoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkkprocedure or from the
  26.           ccccoooonnnnvvvveeeerrrrttttPPPPrrrroooocccc trait method of an _X_m_Q_T_t_r_a_n_s_f_e_r trait, typically
  27.           in response to a request to convert a selection to _T_A_R_G_E_T_S.
  28.  
  29.           XXXXmmmmeeeeSSSSttttaaaannnnddddaaaarrrrddddTTTTaaaarrrrggggeeeettttssss carves out enough dynamic memory to hold
  30.           a list of all the AAAAttttoooommmms your widget can convert.  This list
  31.           will consist of the ten standard targets plus any additional
  32.           nonstandard targets supported by your widget.  Use the _c_o_u_n_t
  33.           argument to specify the number of nonstandard targets
  34.           supported by your widget.  Then, XXXXmmmmeeeeSSSSttttaaaannnnddddaaaarrrrddddTTTTaaaarrrrggggeeeettttssss seeds
  35.           the first ten entries in this list with the following ten
  36.           standard targets:
  37.  
  38.              +o  _B_A_C_K_G_R_O_U_N_D
  39.  
  40.              +o  _C_L_A_S_S
  41.  
  42.              +o  _C_L_I_E_N_T__W_I_N_D_O_W
  43.  
  44.              +o  _C_O_L_O_R_M_A_P
  45.  
  46.              +o  _F_O_R_E_G_R_O_U_N_D
  47.  
  48.              +o  _N_A_M_E
  49.  
  50.              +o  _T_A_R_G_E_T_S
  51.  
  52.              +o  _T_I_M_E_S_T_A_M_P
  53.  
  54.              +o  ____MMMMOOOOTTTTIIIIFFFF____RRRREEEENNNNDDDDEEEERRRR____TTTTAAAABBBBLLLLEEEE
  55.  
  56.              +o  ____MMMMOOOOTTTTIIIIFFFF____EEEENNNNCCCCOOOODDDDIIIINNNNGGGG____RRRREEEEGGGGIIIISSSSTTTTRRRRYYYY
  57.  
  58.           Every Motif widget that acts as the source of a data
  59.           transfer must be able to convert all the standard targets.
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmeeeeSSSSttttaaaannnnddddaaaarrrrddddTTTTaaaarrrrggggeeeettttssss((((3333XXXX))))    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV    XXXXmmmmeeeeSSSSttttaaaannnnddddaaaarrrrddddTTTTaaaarrrrggggeeeettttssss((((3333XXXX))))
  71.  
  72.  
  73.  
  74.           (See XXXXmmmmeeeeSSSSttttaaaannnnddddaaaarrrrddddCCCCoooonnnnvvvveeeerrrrtttt(3) for details.)
  75.  
  76.           After XXXXmmmmeeeeSSSSttttaaaannnnddddaaaarrrrddddTTTTaaaarrrrggggeeeettttssss returns, the conversion routine is
  77.           responsible for adding the _c_o_u_n_t additional items to the end
  78.           of the returned list, beginning with the _c_o_u_n_t__r_e_t_u_r_n
  79.           element.
  80.  
  81.           _w_i_d_g_e_t    Specifies the reference widget for the conversion.
  82.  
  83.           _c_o_u_n_t     Specifies the number of additional targets, beyond
  84.                     the standard targets, that the widget supports.
  85.  
  86.           _c_o_u_n_t__r_e_t_u_r_n
  87.                     Returns the number of standard targets at the
  88.                     front of the returned list of targets.
  89.  
  90.      RRRREEEETTTTUUUURRRRNNNN
  91.           This routine returns a list of AAAAttttoooommmms.  The routine puts
  92.           standard targets at the front of the list, and the list
  93.           contains an additional _c_o_u_n_t atoms at the end that are
  94.           allocated but not filled in.
  95.  
  96.      RRRREEEELLLLAAAATTTTEEEEDDDD
  97.           XXXXmmmmQQQQTTTTttttrrrraaaannnnssssffffeeeerrrr(3), XXXXmmmmTTTTrrrraaaannnnssssffffeeeerrrrDDDDoooonnnneeee(3), XXXXmmmmTTTTrrrraaaannnnssssffffeeeerrrrVVVVaaaalllluuuueeee(3),
  98.           XXXXmmmmeeeeCCCClllliiiippppbbbbooooaaaarrrrddddSSSSiiiinnnnkkkk(3), XXXXmmmmeeeeCCCClllliiiippppbbbbooooaaaarrrrddddSSSSoooouuuurrrrcccceeee(3),
  99.           XXXXmmmmeeeeCCCCoooonnnnvvvveeeerrrrttttMMMMeeeerrrrggggeeee(3), XXXXmmmmeeeeDDDDrrrraaaaggggSSSSoooouuuurrrrcccceeee(3), XXXXmmmmeeeeDDDDrrrrooooppppSSSSiiiinnnnkkkk(3),
  100.           XXXXmmmmeeeeGGGGeeeettttEEEEnnnnccccooooddddiiiinnnnggggAAAAttttoooommmm(3), XXXXmmmmeeeePPPPrrrriiiimmmmaaaarrrryyyySSSSiiiinnnnkkkk(3),
  101.           XXXXmmmmeeeePPPPrrrriiiimmmmaaaarrrryyyySSSSoooouuuurrrrcccceeee(3), XXXXmmmmeeeeSSSSeeeeccccoooonnnnddddaaaarrrryyyySSSSiiiinnnnkkkk(3),
  102.           XXXXmmmmeeeeSSSSeeeeccccoooonnnnddddaaaarrrryyyySSSSoooouuuurrrrcccceeee(3), XXXXmmmmeeeeSSSSeeeeccccoooonnnnddddaaaarrrryyyyTTTTrrrraaaannnnssssffffeeeerrrr(3),
  103.           XXXXmmmmeeeeSSSSttttaaaannnnddddaaaarrrrddddCCCCoooonnnnvvvveeeerrrrtttt(3), and XXXXmmmmeeeeTTTTrrrraaaannnnssssffffeeeerrrrAAAAddddddddDDDDoooonnnneeeePPPPrrrroooocccc(3).
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 10/24/98)
  130.  
  131.  
  132.  
  133.